using System;
using System.Xml;
using System.Xml.Serialization;
namespace SERP.DAO{
	/********************************BEGIN ModulesEntity****************************************/
	///<summary>
	/// <para>Author: Auto generated class by CSharp Code Generator v2.0</para>
	/// <para>Date:09/03/2013 19:09:04</para>
	/// <para>Class Name: ModulesEntity</para>
	/// <para>Description: ClassModulesEntity store data of table Modules</para>
	///</summary>

	[Serializable]
	public partial class ModulesEntity{


		private bool _InternalChangedIsNullModuleId=true;
		private bool _IsNullModuleId=true;
		private bool _InternalChangedIsNullModuleName=true;
		private bool _IsNullModuleName=true;
		private bool _InternalChangedIsNullDescription=true;
		private bool _IsNullDescription=true;
		private bool _InternalChangedIsNullIconName=true;
		private bool _IsNullIconName=true;
		private bool _InternalChangedIsNullModuleLink=true;
		private bool _IsNullModuleLink=true;
		private bool _InternalChangedIsNullModuleType=true;
		private bool _IsNullModuleType=true;
		private int _ModuleId;
		private string _ModuleName;
		private string _Description;
		private string _IconName;
		private string _ModuleLink;
		private Byte _ModuleType;
		[XmlElement(ElementName = "IsNullModuleId")]
		public bool IsNullModuleId{
			get{return _IsNullModuleId;}
			set{if(!_InternalChangedIsNullModuleId)_IsNullModuleId=value;}
		}
		[XmlElement(ElementName = "IsNullModuleName")]
		public bool IsNullModuleName{
			get{return _IsNullModuleName;}
			set{if(!_InternalChangedIsNullModuleName)_IsNullModuleName=value;}
		}
		[XmlElement(ElementName = "IsNullDescription")]
		public bool IsNullDescription{
			get{return _IsNullDescription;}
			set{if(!_InternalChangedIsNullDescription)_IsNullDescription=value;}
		}
		[XmlElement(ElementName = "IsNullIconName")]
		public bool IsNullIconName{
			get{return _IsNullIconName;}
			set{if(!_InternalChangedIsNullIconName)_IsNullIconName=value;}
		}
		[XmlElement(ElementName = "IsNullModuleLink")]
		public bool IsNullModuleLink{
			get{return _IsNullModuleLink;}
			set{if(!_InternalChangedIsNullModuleLink)_IsNullModuleLink=value;}
		}
		[XmlElement(ElementName = "IsNullModuleType")]
		public bool IsNullModuleType{
			get{return _IsNullModuleType;}
			set{if(!_InternalChangedIsNullModuleType)_IsNullModuleType=value;}
		}
		[XmlElement(ElementName = "ModuleId")]
		public int ModuleId{
			get{return _ModuleId;}
			set{
				_ModuleId=value;
				if(_ModuleId!=null){
					_IsNullModuleId=false;
					_InternalChangedIsNullModuleId=true;
				}
			}
		}
		[XmlElement(ElementName = "ModuleName")]
		public string ModuleName{
			get{return _ModuleName;}
			set{
				_ModuleName=value;
				if(_ModuleName!=null){
					_IsNullModuleName=false;
					_InternalChangedIsNullModuleName=true;
				}
			}
		}
		[XmlElement(ElementName = "Description")]
		public string Description{
			get{return _Description;}
			set{
				_Description=value;
				if(_Description!=null){
					_IsNullDescription=false;
					_InternalChangedIsNullDescription=true;
				}
			}
		}
		[XmlElement(ElementName = "IconName")]
		public string IconName{
			get{return _IconName;}
			set{
				_IconName=value;
				if(_IconName!=null){
					_IsNullIconName=false;
					_InternalChangedIsNullIconName=true;
				}
			}
		}
		[XmlElement(ElementName = "ModuleLink")]
		public string ModuleLink{
			get{return _ModuleLink;}
			set{
				_ModuleLink=value;
				if(_ModuleLink!=null){
					_IsNullModuleLink=false;
					_InternalChangedIsNullModuleLink=true;
				}
			}
		}
		[XmlElement(ElementName = "ModuleType")]
		public Byte ModuleType{
			get{return _ModuleType;}
			set{
				_ModuleType=value;
				if(_ModuleType!=null){
					_IsNullModuleType=false;
					_InternalChangedIsNullModuleType=true;
				}
			}
		}
	}
	/*****************************************************************************************************/
	/**********************************END ModulesEntityBase*****************************************/
	/*****************************************************************************************************/
}

